package com.chinasoft.ecommerceconsumptionanalysissystem.service.impl;

import com.chinasoft.ecommerceconsumptionanalysissystem.mapper.ProductCombinationMapper;
import com.chinasoft.ecommerceconsumptionanalysissystem.pojo.ProductCombination;
import com.chinasoft.ecommerceconsumptionanalysissystem.service.ProductCombinationService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class ProductCombinationServiceImpl implements ProductCombinationService {
    @Autowired
    private ProductCombinationMapper productCombinationMapper;

    @Override
    public List<ProductCombination> selectAll() {
        return productCombinationMapper.selectAll();
    }

    @Override
    public int insert(ProductCombination productCombination) {
        return productCombinationMapper.insert(productCombination);
    }
}
